<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{xjllzkForm.bundleName}"/>
    <head>
        <title>#{text['xjllzkDetail.title']}</title>
        <meta name="heading" content="#{text['xjllzkDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="xjllzkForm">

<h:form id="xjllzkForm" onsubmit="return validateXjllzkForm(this)">
<h:inputHidden value="#{xjllzkForm.xjllzk.id}" id="id"/>
<h:inputHidden value="#{xjllzkForm.xjllzk.version}" id="version"/>
 <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{xjllzkForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty xjllzkForm.xjllzk.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{xjllzkForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Xjllzk')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
<h:panelGrid columns="3">
    <h:outputLabel styleClass="desc" for="jyje" value="#{text['xjllzk.jyje']}"/>
    <t:message for="jyje" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jyje" value="#{xjllzkForm.xjllzk.jyje}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jylc" value="#{text['xjllzk.jylc']}"/>
    <t:message for="jylc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jylc" value="#{xjllzkForm.xjllzk.jylc}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jylr" value="#{text['xjllzk.jylr']}"/>
    <t:message for="jylr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jylr" value="#{xjllzkForm.xjllzk.jylr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="rzje" value="#{text['xjllzk.rzje']}"/>
    <t:message for="rzje" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="rzje" value="#{xjllzkForm.xjllzk.rzje}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="rzlc" value="#{text['xjllzk.rzlc']}"/>
    <t:message for="rzlc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="rzlc" value="#{xjllzkForm.xjllzk.rzlc}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="rzlr" value="#{text['xjllzk.rzlr']}"/>
    <t:message for="rzlr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="rzlr" value="#{xjllzkForm.xjllzk.rzlr}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tzje" value="#{text['xjllzk.tzje']}"/>
    <t:message for="tzje" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzje" value="#{xjllzkForm.xjllzk.tzje}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tzlc" value="#{text['xjllzk.tzlc']}"/>
    <t:message for="tzlc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzlc" value="#{xjllzkForm.xjllzk.tzlc}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tzlr" value="#{text['xjllzk.tzlr']}"/>
    <t:message for="tzlr" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzlr" value="#{xjllzkForm.xjllzk.tzlr}" required="false" maxlength="255">
    </h:inputText>
    <!-- 
    <h:outputLabel styleClass="desc" for="username" value="#{text['xjllzk.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{xjllzkForm.xjllzk.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="id" value="#{text['xjllzk.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{xjllzkForm.xjllzk.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['xjllzk.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
     <h:outputLabel styleClass="desc" for="ny" value="#{text['xjllzk.ny']}"/>
    <t:message for="ny" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ny" value="#{xjllzkForm.xjllzk.ny}" required="true" maxlength="255">
        <v:commonsValidator type="required" arg="#{text['xjllzk.ny']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['xjllzk.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{xjllzkForm.xjllzk.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['xjllzk.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{xjllzkForm.xjllzk.optdate}" required="false" maxlength="23">
    </h:inputText>
     -->
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateXjllzkForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('xjllzkForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
